package com.ruoyi.app.entity;


import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_member_package")
public class MemberPackage extends Model<MemberPackage> {

    /**
     * uuid
     */
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    /**
     * 套餐名称
     */
    @TableField("name")
    private String name;

    /**
     * 套餐金额（元）
     */
    @TableField("money")
    private double money;

    /**
     * 说明描述
     */
    @TableField("describe_info")
    private String describeInfo;

    /**
     * 会员有效期天数
     */
    @TableField("days")
    private String days;

    /**
     * 每日限制次数
     */
    @TableField("daily_limit")
    private String dailyLimit;

    /**
     * 总次数
     */
    @TableField("total_number")
    private String totalNumber;


    /**
     * 检测时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}
